package com.fuyun.example.service.impl;

import com.fuyun.rpc.server.annotations.FuyunRpcService;
import com.zrq.example.common.entity.User;
import com.zrq.example.common.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @author: zrq1351
 * @date: 2025/2/14
 */
@FuyunRpcService
@Service
public class UserServiceImpl implements UserService {
	@Override
	public String getUserName(User user) {
		return user.getName();
	}

	@Override
	public User getUser() {
		User user = new User();
		user.setName("zrq");
		user.setAge(18.0);
		user.setList(null);
		user.setMap(null);
		return user;
	}
}